//
//  MapViewController.h
//  Tazama NGO
//
//  Created by jsheriff on 3/2/11.
//  Copyright 2011 The MITRE Corporation. All rights reserved.
//

#import <UIKit/UIKit.h>
#import<MapKit/MapKit.h>
#import "SettingsViewController.h"

@interface MapViewController_iPhone : UIViewController <MKMapViewDelegate> {
	MKMapView *mapView;
	BOOL centerOnUser;
	BOOL initialUserLocation;
	NSString *currentMapPackPath;
}

@property (nonatomic, retain) IBOutlet MKMapView *mapView;
@property (nonatomic, assign) BOOL centerOnUser;
@property (nonatomic, assign) BOOL initialUserLocation;
@property (nonatomic, retain) NSString *currentMapPackPath;
@property (nonatomic, retain) IBOutlet UIToolbar *toolbar;

- (void)addMessagesToMap;
- (void)addRequestsToMap;
- (void)addKmlPlacemarksToMap;
- (void)displayMessageOnMap:(NSNotification *)notification;
- (void)updateMessages:(NSNotification *)notification;
- (void)updateResourceRequisitions:(NSNotification *)notification;
- (void)mapSelectionChanged:(NSNotification *)notification;

- (IBAction)settingsButtonClick:(id)sender;
- (IBAction)currLocClick:(id)sender;
@end
